package com.yl.drug_management.mapper;

import com.yl.drug_management.pojo.Stock;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StockMapper {
    Stock selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Stock record);

    int updateByOptimistic(Stock record);

    Stock selectByPrimaryKeyForUpdate(Integer id);
}
